import os

for root, dirs, files in os.walk(os.path.abspath(os.path.dirname(__file__))):
    for f in files:
        if f.endswith('.pyc'):
            os.unlink(os.path.join(root, f))
